package com.zxydsb;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
import java.util.Stack;

public class demo02 {
    public static void main(String[] args) {
        HashMap<String, String> m = new HashMap<>();
        m.put("name", "zs");
        m.put("age", "22");
        m.put("weight", "133");
        m.put("001", "a");
        m.put("002", "b");
        m.put("003", "c");
        m.put("004", "d");
        Set<String> keys = m.keySet();
        for (String k : keys) {
            String v = m.get(k);
            System.out.println(k + "-----" + v);
        }
    }
}
